<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var Array11 = [1, 2, 3, 4, 5, 6, 7, 19, 18, 78];
        var newArray11 = [];
        var j = 0;
        for (var i = 0; i < Array11.length; i++) {
            if (Array11[i] < 10) {
                newArray11[j] = Array11[i];
                j++;
            }
        }
        console.log(newArray11);
    </script>
</head>

<body>

</body>

</html>